package com.zhuang.collection;

import java.util.ArrayList;
import java.util.HashMap;

public class Collection {
	public static void main(String[] args) {
		ArrayList<String> arrayList = new ArrayList<>();
		arrayList.add("jack");
		arrayList.add("tom");
		System.out.println(arrayList.toString());

		HashMap<String, String> hashMap = new HashMap<>();
		hashMap.put("NO1", "北京");
		hashMap.put("NO2", "上海");
		System.out.println(hashMap.toString());
	}
}
